Adaptively compressed polarizability operator for accelerating large scale \textit{ab initio} phonon calculations