Discovering Distribution Shifts using Latent Space Representations