James Stuart-Wortley, 1st Baron Wharncliffe — British soldier and politician