It is a very thin line, but hoping or praying for a person’s or president’s demise is not a direct threat, it’s not even a threat.
It’s offensive, vile and distasteful and any person expressing such a hope or advocating such a prayer is not fit for public office.