Pop star Dua Lipa notched a legal win, after a judge dismissed a lawsuit claiming elements of her megahit "Levitating" were stolen.