A motor controller that is expecting 24 volts signal to activate the
drive. There's no serious current draw.
While doing it in discretes is certainly possible, unless your logic
is very minimal
(less than 4 or 5 gates worth) it may be worth just throwing a
regulator into the circuit and using standard gates.
I think that for anyone here to give an answer that really is the best
solution (however you may chose to define best: (least cost, smallest,
simplest etc...)) you need to give MUCH more detail about what you are
trying to do.
Tell us the end result you are looking for, what you have already
aquired hardware wise
or are committed to not changing, where your inputs come from, etc.
I strongly suspect you should not be doing your logic at 24 volts, but
should be changing another part of your circuit to take logic level (5
or 12 volt) inputs.
Martin