An intriguing portrait of a black man in the uniform of a military bandsman and wearing a Waterloo medal drew strong competition after emerging at an auction in East Sussex.