Thistlethwaite's theorem for virtual links