A slowing economy portends trouble domestically, while his vision of globalization has failed to win support internationally.