Ian Haney Lopez is a law professor at the University of California at Berkeley, a high school and Harvard law classmate of Barack Obama’s and the author of “Dog Whistle Politics,” a historical analysis of the coded racial appeals politicians make to white voters. He talks a lot about Donald J. Trump these days, not always in ways one might expect.