KARL: Knowledge-Aware Retrieval and Representations aid Retention and Learning in Students