It's not an incorrect word, but it can be possibly misconstrued as being infantilizing, because "child" somewhat implies a young person. But I can't think of a better word!
Perhaps it could have been more a bit more tactful to reword to avoid saying "child", like saying "your son is doing well" in this case.