The Amperian loop stays fixed while the spanning surface is deformed from the wire into the capacitor gap.
Without the displacement-current term, the same boundary appears to enclose different currents.
x Amperian Loop
Inflate
Same loop boundary, different enclosed current if the Maxwell correction is omitted.