Federal judge, appointed by Biden, temporarily blocks President Trump’s order banning sex changes for those under 19.