QDoc: Make Sections own their section vectors
Sections stores its section data in static mutable vectors shared
across all instances. Every constructor call modifies this global
state, and the destructor must carefully clear it so the next
instance starts fresh. This creates fragile coupling between object
lifetime and shared state, making the code error-prone and
fundamentally incompatible with concurrent documentation generation.
Each Sections instance now owns its section vectors as regular
member data. Callers no longer need to know the aggregate's type
to pick the correct accessor, since the constructor already selects
the right section layout. The custom destructor and manual clearing
become unnecessary, and copy/move operations are explicitly
disabled since Sections instances should never be duplicated.
Fixes: QTBUG-144314
Change-Id: I1c6f39cf69da2db7fff497dbae6ef41f8c7404df
Reviewed-by: Topi Reinio <topi.reinio@qt.io>