High court betting case pits states against sports leagues