President Donald Trump has implemented a policy prohibiting transgender people from enlisting or continuing service in the US military, drawing strong reactions from both supporters and opponents.