A member of the West Virginia National Guard works in the basement of the state Capitol in Charleston, W.Va., on secondment to the Secretary of State’s office to work on cybersecurity around state elections.