A stunning portrait of a Viennese aristocrat which was looted by the Nazis and only returned to its rightful owner this year has been bought for what is thought to be the highest ever sum paid for a painting.