President Donald Trump has signed an executive order to restrict gender-affirming care for people under the age of 19.