Tidal Circularization of Binaries by Resonance Locking. I. The Importance of the Pre-main Sequence