FORMATION OF COMPACT STELLAR CLUSTERS BY HIGH-REDSHIFT GALAXY OUTFLOWS. II. EFFECT OF TURBULENCE AND METAL-LINE COOLING