Integration of Wrapland memory management rework
This MR primarily integrates the changes to Wrapland in wrapland!4 (merged).
Other changes are minor fixes related to memory handling and tests. That includes a temporary workaround in the internal window test for an issue in Wrapland, see wrapland#13 (closed).
Edited by Roman Gilg