Ergoregion instabilities in rotating two-dimensional Bose-Einstein condensates: new perspectives on the stability of quantized vortices