After leading for much of the campaign, Texas' Republican governor is facing a more competitive challenge to his fourth-term bid.