wrap: Set all the env vars before building the locking list
The list of locked environment variables should include all the vars that we decided to want, or avoid.
/cc @smcv
This is an hotfix for one of the issues reported in #26 (closed), with this patch SRL+Proton on Wayland should work again.
A more appropriate and complete fix should also change all the occurrences of flatpak_bwrap_unset_env()
in flatpak-run.c
with an entry to extra_locked_vars_to_unset
(done in the latest revision of this patch).
Edited by Ludovico de Nittis