Why do you care if the CD relay is powered when the engine is off?
The basis is that the CD relay is hot when the key is in on/run or possibly accessory position. Otherwise, the cd relay is a constant drain when the master is turned on.
Find a wire that is hot when the key is turned ON. If you aren't running a heater, the heater power wire is a good choice.