Registers a world step callback.
The runtime may invoke it after each simulated step (see StepEvent).