Moscow appeared to be warning Ukraine’s Western allies about becoming more deeply involved in the war.