libkwineffects: Make SceneEffect fallback to root context
QuickSceneEffect can also be instantiated by C++ code, for example that's the case with the overview effect. In that case, qmlContext() is not going to return a valid context because the effect has not been created by a QQmlEngine. In that case, use the root context as the parent context.
Edited by Vlad Zahorodnii