Bavarian school bars ‘impolite’ greetings