PWM is an output that is enabled when the “spindle” is on. Laser/Spindle…as far as the grbl software is concerned…same thing. There is no second output for a laser vs spindle. You will have exactly the same problem - the machine really has no idea what you’re controller with that output.
Your best bet is to add a switch in the pwm line, and open the switch when you wish to use the laser.