On Mode Discernibility and Switching Detectability for Linear Switching Systems using a Data-based Projection Method