John McCain’s time as a prisoner of war during Vietnam became a defining experience in his life. It would also inform how he approached allegations that American soldiers tortured prisoners in Iraq.