I'm afraid the school has every right to insist that their teachers toe the line faith-wise. It's a Catholic school and the teachers must therefore subscribe to Catholic principles. I personally support gay marriage, but if I went about declaring my views I could hardly expect a Catholic religion-based school to accept me on their staff. It's rather as if teacher in a Jewish school wanted to give cookery lessons for making pork sausages.