Few-mode energy-managed soliton fiber laser