Shelley Morrison, an actress with a 50-year career who was best known for playing a memorable maid on “Will and Grace,” has died.