The Senate confirmed Gov. Larry Hogan’s choice to head the agency that oversees the Maryland Lottery and the state’s casinos Monday night on a contested vote.