Marco Bezzecchi claims pole position for the Thailand Grand Prix, overcoming a late crash to secure the top spot ahead of Marc Marquez.