Irish teacher Enoch Burke has been jailed for breaching a court order not to trespass at his former school, and not, as Burke claimed in an online post, for refusing to use transgender pronouns.