Using a ground signal as trigger
Insert a optocoupler.
Connect the LED of the optocoupler (if necessary, with a resistor) between the 12V and "output wire of control box" and the transistor of the optocoupler to the "wire to control this door opener" and ground.

My phone does not support the built in schematic editor.
Below an attempt to draw the implementation: