Russia’s reliance on North Korea for troops and munitions has grown steadily throughout the nearly four-year war—raising questions about the Kremlin’s ability to wage war forever.