It looks like scripting listener and recording actions do not allow access to create shortcuts for this.
Is there a way to access the layer panel attributes via scripting? I use Not Visible most often, would like to be able to toggle back and forth easily.