The state's closely watched governor's race was expected to deal a blow to U.S. President Joe Biden and Democrats' hopes to keep control of Congress in next year's elections.