Effects of symmetry energy on the equation of state for hybrid neutron stars