Recently aware that some communities have historically been one race or another, an increased number of buyers are adding “racially diverse neighborhood” to their list of must-haves. But that doesn’t always help lower-income neighborhoods if it causes gentrification and rising home prices.