The five-foot-tall painting, once owned by a haircare maven, offered a fresh test of the trophy art market.