Fault-tolerant qubit encoding using a spin-7/2 qudit