Donald J. Trump’s biggest gains were along the Texas border, a Democratic stronghold where most voters are Hispanic. He won 12 of the region’s 14 counties, up from five in 2016.