The UK Supreme Court's definition of a woman in equalities law has significant implications for transgender people.