Plans for a new car park in Peterlee have been refused by the council after damage to trees and safety concerns.