In my case I manually downloaded a newer kernel version from Microsoft's GitHub page and compiled that myself.
This newer version did not work with Rancher Desktop and had to revert back from Kernel 6.x.y back to 5.x.y
This can easily be done by removing the
kernel=C:\\bzImage
or similiar from your .wslconfig