Violation of the Wiedemann-Franz law in the topological Kondo model