Putin left Beijing with declarations of enduring friendship with China and a stack of bilateral agreements — but without the energy breakthrough Moscow desperately sought.