America can try to hold on to global hegemony as it slips from its grasp—or it can learn from Britain's mistakes.