The Trump administration dropped a two-year-old accounting probe into Exxon Mobil Corp.’s valuation of its reserves and public disclosures about climate change, while inquiries by two Democratic-led states continue.