tLaSDI: Thermodynamics-informed latent space dynamics identification