Dynamical purification and the emergence of quantum state designs from the projected ensemble