North Carolina’s governor has vetoed a GOP bill that would weaken his successor and other Democrats