Enhancing Knowledge Tracing through Leakage-Free and Recency-Aware Embeddings