Here's a durable front brake lever switch that'll do just the job! When you pull your lever in, it releases the switch – closing the circuit & turning your lights on. When your lever is out, it depresses the switch – opening the brake light circuit & turning your lights off.
eBay