Construction of solar and wind farms needed to purge planet-warming fossil fuels from the grid slowed sharply this year as trade issues, tax uncertainty and supply-chain disruptions stifled development.