Of course it's wrong to fire someone for that.
It's also wrong for a public institution to fire people for:
a) living with a boyfriend or girlfriend before marriage
b) being gay
c) not going to church often enough
d) being the member of the wrong kind of church
e) not having your children baptized Catholic
But as far as I can tell, the permission that the province has granted the Catholic Church to control a publicly funded education system includes the permission to discriminate in hiring and firing practices.
They can discriminate against you and you have no recourse.
The problem isn't the Church. I expect ignorant, deluded, power-hungry idiots to behave this way just to avoid the cognitive dissonance of having reason and logic invade their rose-tinted bubble.
The problem is that we allow them to control public education and allow them to educate people on our dime. If we continue to allow this, everything they do is in our name. If we continue to fund them, their cruelties, discriminations and other abuses become our fault.
End this stupid farce.
Take the power of public education away from the Church. Take away their funding.