The war in Ukraine will define Biden's legacy, but peril and uncertainty lie ahead