GPIO failing to drive 2N2222 & LED simultaneously
The base / emitter junction is a forward biased diode and therefore from base to ground you will see about 0.7 volts when the GPIO is activated. This isn't enough to light your LED (typically 1.8 volts and upwards is what is needed).

Connect the resistor and LED directly to the GPIO line and 0 volts.