A 65-year-old American tourist has been arrested in Japan for carving letters into a wooden gate at a shrine in Tokyo.