KG-CQR: Leveraging Structured Relation Representations in Knowledge Graphs for Contextual Query Retrieval