President Donald Trump said the price of oil and gas could remain elevated before the midterm elections in November, hours after in-person peace talks between between U.S. and Iran failed.