A UN inquiry into chemical weapons use in the war in Syria is set to expire after Russia vetoed a US-sponsored resolution that would have extended its mandate.