Remove Widget.closed attribute

Still to decide: is `closed` something we want to be part of the public API of a widget? If so, I'll bring it back as a property.

Closes gh-5282