Avoid neopixel power on USB
You could just use a schottky diode, a large (1Mohm recommended) resistor to drain diode leakage to GND, and an N-channel FET to detect power supply power, and cut off all the LEDs any time the power supply isn't providing voltage.

Something like this:







simulate this circuit &ndash; Schematic created using CircuitLab