A geography professor built the most detailed map of racial diversity yet to study the way America’s neighborhoods are changing.