Donald Trump is projected to have won North Carolina, one of the key battleground states that could decide the US election.