President Donald Trump’s signature tax bill is contributing to a contraction in the country’s clean energy manufacturing that threatens U.S. supply chains and competitiveness, just as rising electricity prices underscore the industry’s importance.