Donald Trump has signed an executive order banning trans women athletes from competing in female sports.