Nope. Changing the server string doesn't stop a dedicated attacker.
It can, however, make it a LOT noisier in the logs when a script kiddy takes a poke at you, which may be desirable.
As long as you don't rely on the "obscurity" behavior as a replacement for keeping the box patched, and so on, it certainly doesn't make the system any less secure.