Hi, I also faced the same problem on WSL2.
As discussed in this issue it is just a matter to add this in the .bashrc:
export LD_LIBRARY_PATH=/usr/lib/wsl/lib:$LD_LIBRARY_PATH
Be sure that your library is in /usr/lib/wsl/lib, to see it you can run
ldconfig -p | grep cuda