How to Counter AI Threats to Election Security