Israel’s largely ceremonial president faces choice that could shape its future