Transient analysis of ballistic transport in stublike quantum waveguides