Seol mar théacs é seo: Regulation of black-hole accretion by a disk wind during a violent outburst of V404 Cygni