Graph Structure Refinement with Energy-based Contrastive Learning