The tactics President Trump has embraced place the United States in awkward company as freedom of expression is declining in dozens of countries.