I see where you are coming from, and am a complete layperson in this field.That he might have any number of mental illnesses is a pretty low bar.It perfectly possible to say that he might have various mental illnesses, any one of which makes him unsuited to being president. In that case, is it ethical to keep quiet, given the stakes?
That he is unsuitable for the office is clear from his behavior. No supposition about possible mental illness is needed.
I would say that there is a lot of information about Trump's behaviour and words, and do wonder whether a psychiatrist would actually gain much more information from an interview.
Some disorders must be easier to diagnose than others, and if this is one then I see no reason why experts should refrain from stating what might be utterly obvious to them.
Patient confidentiality should extend to Trump's physicians, but if you are seeking to put yourself in a position of power over people, then it would be acceptable for potential subjects to state something that is obvious to them if their view is that it is dangerous.
Trump's behaviour is so bizarre that I am willing to believe that it's obvious to an experienced professional what is wrong.