A US presidential election that’s threatening to upend global trade and potentially roil the economic outlook across the developing world.