President Trump’s envoys negotiated with Iran over its nuclear program. But Mr. Trump and Prime Minister Benjamin Netanyahu of Israel wanted much more.