Tuning the Magnetic Anisotropy of Lanthanides on a Metal Substrate by Metal–Organic Coordination