The war in Ukraine reminds us what the EU is for. But even bigger challenges lie ahead