Anatomy of the AGN in NGC 5548. IX. Photoionized emission features in the soft X-ray spectra