Mark all ancestor parts lists dirty when an endpoint's enabled state changes. (#18624)
Mark all ancestor parts lists dirty when an endpoint's enabled state changes. (#18624)

If an endpoint is present on a parts list other than that of endpoint
0, we were not correctly marking that parts list dirty when the
endpoint was added/removed.
project-chip/connectedhomeip,nestlabs/connectedhomeip,nestlabs/connectedhomeip,project-chip/connectedhomeip,nestlabs/connectedhomeip,nestlabs/connectedhomeip,project-chip/connectedhomeip,project-chip/connectedhomeip,nestlabs/connectedhomeip,nestlabs/connectedhomeip,nestlabs/connectedhomeip,project-chip/connectedhomeip,project-chip/connectedhomeip