Update `ContainerConnectionDetailsFactory` so that they consistently extend `ContainerConnectionDetails`. The container is also no longer accessible from the `ContainerConnectionSource` and is never used during the construction of `ConnectionDetails` instances. See gh-35168