Twisted motivic Chern class and stable envelopes