The White House has reaffirmed Donald Trump’s policy recognising only two biological sexes, male and female, amid continuing legal challenges and debate over transgender rights in the United States.