Council planners have denied Ardgowan Hospice permission to demolish an 143-year-old church building beside their Greenock base.