Clean up LottieRoot handling in BatchRenderer


The batch renderer creates copies of the lottie element tree. After
introduction of the LottieRoot item type, the root of the tree is
created as that. However it was still copied as a QLottieBase, causing
information loss.
Also, QLottieRoot did not implement copying of its member variables,
as all item types should.
This commit fixes both issues.

Change-Id: Ie4bacfcd54d5859e1d289a62a084cc8f3f04da11
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
commit2cc5b86ab5fd1603a2603665e0a52c263129fc7e
parent6f2191c67efd4ae1aa17e77f34f2411a0a924ead
authorEirik Aavitsland <eirik.aavitsland@qt.io>
committerEirik Aavitsland <eirik.aavitsland@qt.io>
commit timeFri, 27 Mar 2026 12:43:31 +0100