Sir James Pulteney, 7th Baronet — British Army general