A Christian school worker who was dismissed after sharing social media posts about LGBT+ relationships teaching has won a Court of Appeal battle related to her dismissal.