The Pew Research Center survey, which surveyed people in 37 nations, showed a sharp decline in the average trust for America’s leader to do the right thing when it comes to international affairs.