The high court action follows the Trump administration's recent decision to withdraw a directive issued during Barack Obama's presidency that advised schools to allow students to use the bathroom of their chosen gender, not biological birth.