UK courts’ recent rulings on gender and trans rights are sparking debate, all rooted in the Equality Act 2010, which aims to prevent discrimination.