Triggering flashing light from multiple sources
Your approach, using a 24V DC relay circuit switched through diodes, is appropriate.
Mounting LED holders on the enclosure would enable point-to-point wiring of the diodes and LED current-limiting resistors to the LEDs, onward to the relay coil. The freewheeling diode for the relay coil could be located at the coil terminals.