In communities where agriculture is central to local identity and economy, opposition to wind and solar projects is reshaping the pace and location of energy investments.