Adaptive World Models: Learning Behaviors by Latent Imagination Under Non-Stationarity