The X Factor runner-up shared a photo of himself alongside his wife, Emily, as they held their son in hospital