X-ray line widths and coronal heating