Good heavens--I certainly would never have equated (or come close to equating) a valve with "section of a folding or revolving door"! But the etymology sure clarifies the connection; thank you for posting that link.