Tighter availability of foreign panels could hurt the booming industry and set back President Joe Biden’s effort to decarbonize the nation’s power sector.