factor out CircuitPresenter#wirings_for