Magnetized neutron stars with superconducting cores: Effect of entrainment