President Biden will visit North Carolina on Thursday at a time when his campaign is investing heavily in the state and building a robust electoral operation there far earlier than it did in 2020, a reflection of Democrats’ belief that they can make a credible run at winning North Carolina despite losing it to Donald Trump four years ago.