How to wire laser in GRBL

I have a special case. I want to configure my CNC with GRBL, and wire a laser to it. However, I have 3 Endstops (XYZ) and the PWM pin that is usually used for controlling a laser is Z+. How should I wire this? Could I recompile GRBL to have the Z endstop set to a different pin like D12? I am somewhat new to this so any help is appreciated! Thanks!

"new to this" and LASER should not go together. It looks like you want a LASER cutter, which is much more powerful than a LASER pointer... and instantaneously blinding... or, is this LASER for distance finding?