Teacher fired by Catholic school wins appeal to continue lawsuit