Caps stay patient, rally to beat Wild