ISS small-gain theorem for networked discrete-time switching systems