What you might be missing is that layouts and details have a second light bulb column: their LOCAL visibility toggles.
It’s often hidden to the far right of the layer panel.
These settings are remembered for each layout/detail independently.
Is it possible that you are toggling the GLOBAL bulbs? Because then you would see the effect in all details at once.
Therefore the initial wish of this thread does not make too much sense, because layouts/details already store/remember their own visibility status, which can also be saved/transferred via layer states.
Should you then start to wonder why model space layer states should break layouts, see this thread.