Solar power is having a bumper year as developers race to complete installations before Trump’s policy changes pull the rug out from under the industry.