US judge allows guns at polling stations