Text this: Emergence of X states in a quantum impurity model