The popular former governor defeated President Trump’s handpicked choice to replace the retiring Thom Tillis.