While the Republican sweep was felt downballot, other races with an outsized impact on clean energy efforts bucked the trend.