Barney Norris's play tackles the difficult subject of dementia with sensitivity and just the right amount of comedy, says Charles Spencer