Alibaba’s midyear shopping promotion has it going head-to-head with younger e-commerce competitors such as Xiaohongshu, China’s answer to Instagram.