A planning appeal has been launched after a developer’s proposal for new affordable homes in County Durham was refused.