Leicester City's Harvey Barnes cancelled out Chris Wood's opener for Burnley with a smart first-half finish.