ConfigurationContainmentAppearance: Fix undefined twinFormLayouts
If the stack view is still loading a page, `currentItem.formLayout` is undefined, so we need to add a guard when accessing the property. This fixes "Unable to assign [undefined] to QQmlListProperty<QQuickItem>".