Not possible with wireless connection because both these modules works on different protocols.
However, I can think of these two options:
1. Arrange an Digi Connect Port X2 or X4 and connect it with rest of Xbee S2. Connect Port gateway can connect to Device Cloud. There is an article on this as well
2. Connect one (new/old) Xbee S2 to Xbee wi-fi using serially on UART pins. It should work well in AT mode, but for API mode you may or may not need to introduce a micro controller in between.