If they had a rule against drinking, and they only enforced the rule against drinking for black teachers and not white teachers, they'd have a claim, because that's racial discrimination and illegal, but here, their claim would be that they're treating him differently because of his sexual orientation, and there's just no law against that.