A UK teacher who suggested a Muslim student "might have a bomb in his bag" banned from the profession.