A Multiwavelength Autopsy of the Interacting Type IIn Supernova 2020ywx: Tracing Its Progenitor Mass-loss History for 100 Yr Before Death