As threats grow, funds for election security see a squeeze