The head of the E.P.A. allowed a lobbyist friend to play an unusually influential role in setting his agenda during a visit in December.