A new dementia-friendly housing development is being built in Hartlepool thanks to the support of a town charity.