Implications of the cosmological 21-cm absorption profile for high-redshift star formation and deep JWST surveys