Rényi entropy and subsystem distances in finite size and thermal states in critical XY chains