President Trump focused his U.N. speech on national sovereignty, his policies, and what he called “threats” against democracy.