Unexpected leaders have emerged from stocks’ summer rally. Here’s what we might learn from them