Sir William John Ferguson Davie, 4th Baronet — British military officer (1863–1947)