Computing input-output projections of dynamical models with applications to structural identifiability