KABUL, Afghanistan — The United States struggled Friday to find a path out of a presidential election crisis in Afghanistan that has jeopardized chances for a democratic transfer of power, a central plank of President Barack Obama's strategy to leave behind a stable state after the withdrawal of most U.S. troops at year's end.