Heavy quarkonium in a holographic QCD model