Cellular folding pathway of a metastable serpin