Youri Tielemans scored two goals including a late penalty as Leicester City rioted to a 4-1 win in West Yorkshire.