DeepHeartBeat: Latent trajectory learning of cardiac cycles using cardiac ultrasounds