If the root bone is animated. You'd need to use the bone's worldX and worldY and subtract from it the root bone's worldX and worldY.
If you didn't animate the root bone, worldX and worldY will suffice. No additional calculation is necessary. This also applies if you animated the root bone but you really only needed the position of your bone relative to the skeleton's origin (which isn't necessarily the root bone).