A million-square-foot data center became a lighting rod in this rural county. Local leaders filed lawsuits, proposed laws and organized a ballot measure to challenge it.