A British tourist has been arrested after trying to drown a stranger in the sea at a Benidorm beach and then attacking a child.