A heterometallic [LnLn′Ln] lanthanide complex as a qubit with embedded quantum error correction