Uncertainty caused by the new Trump administration in the US could see green energy investors divert to Scotland and the UK, the Deputy First Minister Kate Forbes has said.