NEW YORK — Iran and the United States were only “a few minutes away from a war” after Iran shot down an American spy drone last month, Iran’s foreign minister said Thursday, but the diplomat said he remains hopeful that escalating tensions might somehow be resolved. In a wide-ranging discussion with U.S.-based media on the