Iran’s top diplomat said resuming diplomacy with the U.S. “isn’t impossible,” after what he described as “creative discussions” with Qatar, a mediator in the war between Washington and Tehran.