Quantum vortex formation in the “rotating bucket” experiment with polariton condensates