The timing was no accident. Both the U.S. and Israeli spy agencies had been tracking Ayatollah Ali Khamenei’s whereabouts.