VIENNA — In a seeming flashback to the cold war, Russian and American officials traded prisoners in the bright sunlight on the tarmac of Vienna’s international airport on Friday, bringing to a quick end an episode that had threatened to disrupt relations between the countries.