Formation of compact stellar clusters by high-redshift galaxy outflows