Optical nanomanipulation on solid substrates via optothermally-gated photon nudging