An Irish teacher has been jailed for refusing to bow to transgender pressure from the school where he taught, according to conservative propaganda.