Yep, quite a few people have had this problem with recent X9 rear mechs, including me. Here, here, and here are examples just from STW. Lots more similar cases if you Google for it elsewhere. Basically the spring is too weak (or the rivets are too tight, it amounts to the same thing). Your best bet is taking it back to the shop. If you can’t do that for some reason you might be able to sort it by applying loads of GT85 or WD40, and if that doesn’t work try whacking the rivets (carefully!) with a centre punch to loosen them up. Make sure you’ve definitely got the thing set up right first though!
Don’t count on it being fixable or getting better with time, return it if you can. I never managed to sort mine properly after two months’ reasonably heavy use, and ended up replacing it completely.