Bump the default Python version in the Synapse Dockerfile from 3.11 -> 3.12.