Only set valid participant to parent in shell transitions

The top "intermediate" in populateParentChanges() needs to be a
valid parent. Otherwise, it would be set to target but not
included in targets.

Bug: 223748421
Test: Run WM CTS
Change-Id: Ie533a5f539b503b842ec1f28c8113b789cf4672a
1 file changed