Putin doesn't care about defensible border with China. In fact they don't care about the Chinese ambitions in South Siberia at all. And those ambitions are much clearer than any idea that NATO or European countries might want to invade Russia.
Putin's only worry is avoiding the fate of Sadam and Qaddafi and for that, in his mind, he needs to keep waging wars around Russia (and support struggling dictators all over the world, but that's unrelated to this conflict).