Latin America’s rightward, market-friendly shift is reshaping its relationship with Donald Trump’s Washington, including new flows of money from multilateral lenders historically criticized in the region for pushing fiscal austerity.