The 4022 supply and the signal inputs to the 2981A can be as low as 5V without any problem.
The "VS" supply to the 2981A is completely independent, voltage wise, and can be anything up to 50V.
Just feed that from the 24V supply and the outputs will be 24V, or very close to that.
Using a lower supply for the 4022 part could also make it easier to rig up a battery backup for that, so it retains its state when the main machine power is off.
Just use a resistor divider to reduce the input to the clock pin to slightly below its supply voltage.