here is the doc from apple on ios16 https://developer.apple.com/documentation/xcode/enabling-developer-mode-on-a-device
however. as others have noted on the forum, you may need to restart the device before the option is there.
this was the case for me.
After updating the os I had to manually shutdown and restart the iphone. After which dev mode was there again