restore State
Counterpart to saveState.
Lenient by design:
An empty map is a no-op.
Entries for action IDs not present in the current item list are silently ignored (allows version drift — an older snapshot may reference items the current SDK has removed).
Items present in the current list but absent from the snapshot keep their current state (handles items added since the snapshot was taken).