Effects of Transition Metal Dopants on the Mechanosensitivity of Lanthanide-Based Upconverting Nanoparticles in Polymers