STT: Stateful Tracking with Transformers for Autonomous Driving