ConTraKG: Contrastive-based Transfer Learning for Visual Object Recognition using Knowledge Graphs