Protests taking place outside a school, where a teacher was suspended for showing pupils a caricature of the Prophet Mohammed, were “not right”, the Communities Secretary said.