Two regressions from the per-workspace persistent Docker key:
- A delegate_task child has only a container alias to its parent, and the
persistent branch never followed it, so the child ran in the profile's
`default` container (no parent packages, /tmp or services) and children of
two workspaces shared one. _workspace_container_key now follows the alias.
- ensure_task_env handed the resolved `<base>:ws:<h>` key to get_active_env,
which resolved it again back to the profile key and returned whatever
profile container existed. A resolved key now maps to itself.
The digest is computed once at bind time and stored in the override
(`workspace_key`), so lookups no longer realpath the live filesystem; the dead
`except OSError` around realpath is gone.
Review finding by @kshitijk4poor on #140970
Review finding by @dokterdok on #140970
Refs #134889 (CLI-39)
Refs #140719