German mayor hurt in xenophobic attack