This diff adds skipping of the `deviceID` format validation in the `validateDeviceID` tools function by checking the `sessions.disable_deviceid_validation` config flag (from D6523).
We are disabling the validation of the `deviceID` format for using the Tunnelbroker as a Redis replacement, in this case, the `deviceID` format will be different and we should not validate it.
Linear task: [[ https://linear.app/comm/issue/ENG-2640/disabling-keyserver-deviceid-validation-check-by-the-config-flag-in | ENG-2640 ]]