Solar panels are spreading across the globe at a record pace, fueled by tax breaks and ambitious climate goals. The U.S. is installing panels fast, too—so many that solar power is expected this year to account for more than half of new electricity capacity for the first time ever. But solar stocks haven’t come along for the ride. Weakness in some key product areas, including residential rooftop systems, has sunk several stoc…