State wins over parents in Common Core lawsuit