A self-portrait by Mexican artist Frida Kahlo sold for $34.9 million at Sotheby’s, an auction record for any Latin American artist.