Plans to demolish an empty former York care home to make way for a new affordable housing development have been lodged.