BOSTON/NAIROBI—With the Iran war sparking economic shocks around the world, the macroeconomic picture for developing countries has darkened. Rising...