Design of high-temperature f-block molecular nanomagnets through the control of vibration-induced spin relaxation