Courts and states should be wary when an investigation risks commandeering the evidence needed to ascertain election results.