Smartphone in hand, Ukraine’s president takes centre stage in a capital below assault