Compositing heat distortion not rendering
Whatever is connected to the composite node is your final render, the Viewer does not get saved using the output settings.

In your current setup you are feeding just one layer directly into the Composite (output) Node, bypassing any displacement.

Connect the output of the displacement to the composite node and be happy ever after.