The XMM Cluster Survey: evolution of the velocity dispersion — temperature relation over half a Hubble time