Thomas Luthi recorded his second pole position of 2016 as he beat the rain in Assen to finish ahead of Joann Zarco and Dominique Aegerter.