Extinction in a two dimensional Lotka–Volterra system with infinite delay