Latham & Watkins and O'Melveny & Myers have advised on the sale of MotoGP parent company Dorna Sports to Formula One owners Liberty Media.