Solar energy now generates a quarter of Pakistan’s electricity, surpassing coal and nuclear in a milestone shift toward clean power.