New Hampshire officials approved a contract with DraftKings Inc., allowing the Boston-based company to provide sports betting within the state.