The UK's highest court will decide whether whether trans women can be regarded as female under the Equality Act.