The president exempted a copper smelter in Arizona from air-quality rules. An E.P.A. official guided the company that sought the exemption, emails show.