Interplay between heartbeat oscillations and wind outflow in microquasar IGR J17091-3624