Convert 12VDC fan controller output to TTL signal of laser?
Why don't just solder two wires straight to the Gate and Source pins of the fan MOSFET on RAMPS board? So you will get 5V PWM signal straight from ATMega controller. 

That is what I did - soldered two-wire JST-connector to the pins to make it unplugable. Works like a charm.