A South Korean court has ruled against K-pop band NewJeans in its long-running dispute with record label Ador.