Extracting Preserved Neural Latent Dynamics Across Tasks using Convolutional Transformer-based Variational