Artificial Intelligence-Enabled Spirometry for Early Detection of Right Heart Failure