That might've made a difference. Hard to say. It might have to be paired with different German behavior. No Zimmerman Telegram for example.
Though this is not impossible.
I get the impression that by 1917 the Germans had developed a strong personal animus against President Wilson, seeing him as a busybody who lectured them on how that could or couldn't make war, while blithely selling arms to their enemies. Viz that angry marginal note by the Kaiser when someone suggested leaving American ships alone.
Also, some at least of them thought that he was bluffing. When Zimmerman said goodbye to Ambassador and Mrs Gerard, he consoled them with the assurance that Wilson would never fight. And Ludendorff responded to a worried subordinate with the opinion that Wilson was all mouth, and would talk endlessly but never act.
Hughes, by contrast, was an unknown quantity, and the Germans might have trodden more warily with him. Had Wilson died as the election returns were coming in, that might also have been true with regard to President Marshall.