The only body with the authority to raise an Army is Congress. And they have a draft system. Which they’re also trying to get rid of because it’s massively unpopular.
For everyone else the 13th amendment applies. You cannot force someone to work for you. And that Virgina law is from 1930, so unconstitutional from day 1.
If people want to volunteer that’s a different story, but then again, we have organizations for that, state guards, national guards, state reserves, rural emergency volunteer teams, etc.
The idea that any state could draft its people into a militia is ridiculous and unconstitutional.