X-ray coherent pulsations during a sub-luminous accretion disc state of the transitional millisecond pulsar XSS J12270−4859