Dynamic routing of millimeter-wave signal for in-building networks using integrated resonant switch matrix