By the way you said it, it seemed you knew you were dreaming which was why you wanted to wake up, in which case it was lucid.

But you might have meant it in a different way, like you could say in real life you just want to wake up (sort of a figure of speech). well, if you meant it like that, then you were not lucid.