Generation and application of a high-average-power polarized soft-x-ray laser beam