Mexico’s president bet big on oil. His successor will be stuck with the tab.