Kamui Kobayashi clocked the fastest-ever qualifying lap as he drove his Toyota into overall pole position for the 24 Hours of Le Mans on Thursday.