The effect of density‐dependent catastrophes on population persistence time