Capitalizing "Black" is in response to people who identify as Black doing so, I believe. Doing so for people who identify as capital-W "White" would be very different and hand them a victory that will badly distort public debate.
It's amazing how powerful just applying capitalize() to a string can be.