James Hamilton, I lord Hamilton