Towards Robust Knowledge Tracing Models via k-Sparse Attention