Poland's Dawid Kubacki produced the longest jump of qualifying in the Four Hills event at Garmisch-Partenkirchen.