Jamie Vardy opened the scoring against Preston as Leicester City closed in on lifting the Championship title.