Why so little melanin on palms and soles?

Except for a small scientific principle called Occam’s Razor. Don’t invoke adaptive reasons for a feature if you don’t need to.

And there was certainly no reason to invoke the absurd explanation you made up.