The reigning World Champion left it late but got the job done in Thailand to go directly through to Q2 for the first time in three GPs