Inverted N-channel FET
Assuming the latch runs from a 5V supply, you can use a PNP transistor connected as an emitter follower  .. the LED + resistor will see 0.6V less voltage but that should not be a big deal. 







simulate this circuit &ndash; Schematic created using CircuitLab

Oh, and you don't need to do anything else- the pinout of the BS170 is D-G-S and the pinout of the 2N3906 (or 2N4403 etc.) is E-B-C, so it's a drop-in solution.