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>