Kazuki Nakajima claimed pole position on home ground for Toyota in FIA World Endurance Championship qualifying at Fuji.