U.S. Energy Secretary Chris Wright said short-term pain at the pump will pay off in the long run.