Senator John McCain used his visit to appeal to residents of both sides of the border: Mexicans and, more urgently, Latinos in the United States.