well....
If you have an electric ignition.....(not a magneto)....you could wire a 6v relay from your ignition switch....relay normally closed....open in the presence of the 6v.....on the control side.....on the load side, simply bring a wire out of your lighting harness to the relay, and then to the 6v buzzer.......
I suck at drawing wiring diagrams, so I hope that gives you a good idea of how it should go...
another option would be to use a heavier load relay (in this case, relay normally open, and closed in the presence of 6v) and have it open and break the lighting wiring circuit, so that the lights could not be on, if the ignition switch were turned off. Again, wire the control wiring from the ignition switch.....
I don't think the ignition switch is heavy enough to deal with the load of the lights, or you could wire them directly right in there as well......
Of course, if you have a magneto, without building something that was rather complex electronically, you're pretty much left with no options on this one.
6v relays should be available, as should 6v buzzers.....you'll have to do some internet searching, however, to find them.