Stable determination of an inclusion in a layered medium with special anisotropy