Error Analysis of Chebyshev Spectral Element Methods for the Acoustic Wave Equation in Heterogeneous Media