Z-Pinch-Generated X Rays Demonstrate Potential for Indirect-Drive ICF Experiments