[layouts] Consolidate layoutChild() logic around getChildLaneAndFrame()