TENTON, N.J. — A federal judge ruled Friday night that New Jersey cannot partially lift a prohibition on sports betting in an effort to boost its struggling horse racing and casino industries, a finding Gov. Chris Christie’s administration intends to appeal.