Fängslade oppositionsledaren väljs till presidentkandidat