Thermal out-of-time-order correlators, KMS relations, and spectral functions