Thermal X-Ray Line Emission from Accreting Black Holes