For the setup you’re using I would employ a constant node to input the top value of the Math node rather than the Light’s value. So, for example, if you light has an intensity of 100%, create a constant node with a value of 1.
But there’s an easier way to do this if you want to affect all of the lights in your scene. You can make use of the Render Settings>Options>Global Brightness function.
First, create a null and add a user data percentage slider. Then right-click on the slider name and select from the menu Xpressions>Set Driver. Then right-click on the aforementioned Global Brightness property and select Xpressions>Set Driven (relative or absolute — doesn’t matter here).
Now your slider will control the relative brightness of all scene lights and the slider can be animated (unlike the render setting).