The former New Hampshire governor had been seen as a top Republican recruit in the liberal-leaning yet competitive state.