You can do this with four diodes:
But you need to find out what size diode part you need to dissipate any heat generated by forward resistance. This will depend on the current used by the LED strips.
This circuit isolates the sensor outputs from each other. If the sensors are tolerant of back-feeding when switched off, you can replace the two diodes marked "*" with wires.
If you can't or won't use diodes, you can use a 12V DPDT relay -- a very commonly available part.
Here you can see that when the "stairs upper" sensor is off, the "lobby" sensor controls the "lobby" LED and the "stairs lower" sensor controls the "stairs" LED through the normally-closed (relaxed) relay contacts.
When the "stairs upper" sensor is on, the relay steals the LED feeds from their respective sensor outputs and connects them both to the "stairs upper" sensor output through the normally-open (energized) relay contacts.