Mercedes' Lewis Hamilton suffered a puncture after hitting the wall during Practice Two of the Canadian GP.