Driving the Beat: Time-resolved Spectra of the White Dwarf Pulsar AR Scorpii