Vacuum decay in CFT and the Riemann-Hilbert problem