Sir James Affleck, 3rd Baronet — British Army officer