Ballots are being tallied in a midterm election that could reshape parts of Virginia’s constitution and influence the makeup of the state’s congressional delegation.