The North Dakota governor helped strengthen ties between the oil industry and President-elect Donald J. Trump.