Lahore outplay Peshawar by five wickets in a nail-biting contest