Probing cosmic structure formation in the wavelet representation