Dynamic Wettability Alteration in Immiscible Two-phase Flow in Porous Media: Effect on Transport Properties and Critical Slowing Down