Symmetry energy in holographic QCD