A 44-year-old man who went missing from Birmingham has been found safe and well in Dorset.