If they play their cards well, leaders across the continent can exert leverage on America over how to end the war