Dominant folding pathways of a WW domain