Donald J. Trump’s biggest gains anywhere were along the Texas border, a Democratic stronghold where most voters are Hispanic.