James O'Hara, 2nd Baron Tyrawley — Irish officer in the British Army