The longtime top lawyer for Formula 1 is departing, a milestone that coincides with the international racing series reaching an all-time peak in popularity.