On the Karlin–Kimura approaches to the Wright–Fisher diffusion with fluctuating selection