I suspect OpenCV is not actually being built as cuDNN 9.0 is not supported yet
Do you get any build errors? If so try using an earlier version of cuDNN.