A Christian school worker who was sacked after sharing social media posts about the teaching of LGBT+ relationships in schools has won a Court Of Appeal battle.