Supreme Court to hear NJ appeal over betting law