Xin Qìjí (28 May 1140–1207) was a Chinese poet, military leader, and statesman during the Southern Song dynasty .