Pseudo-spin–valley coupled edge states in a photonic topological insulator