A British tourist has been arrested for attacking a shopkeeper and a teenage boy on the Thai island of Phuket.