Understanding Dataset Distillation via Spectral Filtering