Limit laws for the maxima of a class of quasi-stationary sequences