The president, speaking to a crowd of more than 50,000 in the school’s football stadium, said the world is becoming ever more interconnected and “building walls won’t change that."