Time dilation in type Ia supernova spectra at high redshift