RISC-V is seriously behind.
Of course it is. RISC-V is very very new. The basic RISC-V instruction set RV{32,64}GC was not definitively frozen until July 2019, less than four years ago. Many of the features necessary to move from microcontrollers up to the desktop and servers -- vectors, bit-oriented things such as clz and popcount and byte-reversal, hypervisor, cache preload and flush -- were added only in November 2021, 16 months ago.
It takes several years to design a modern CPU core, and then once the core is designed it takes four or five more years to design SoCs around it, make test versions, get into mass production, and get on to consumer-priced boards.
That is the same for both ARM and RISC-V as well as others.
Do you think RISC-V can beat ARM in this?
Given the current rate of progress: absolutely. Multiple credible RISC-V companies have cores on the drawing board or even already announced (e.g. Ventana, MIPS) similar in capability to Apple M1 from just two years ago, and ahead of anything ARM has announced.
Party between ARM-licensed cores and RISC-V in actual shipping hardware you can buy will happen in around 2026. Apple will probably still be ahead, as they are far ahead of ARM now.
Right now there exists a RISC-V SoC and EVB from SOPHGO, the SG2042, with sixty four OoO cores similar to ARM A72 running at 2.0 GHz. I've been promised ssh access to one shortly ... I hope this week.
How long until we have Windows for RISC-V, or Ubuntu mainstream distribution for RISC-V?
The former you need to ask Microsoft and no one else.
Ubuntu had official images for the HiFive Unmatched and HiFive Unleashed in June 2021. They currently have official 22.04LTS and 22.10 images for the StarFive VisionFive 2, the Sipeed LicheeRV (with dock), and the PolarFire SoC FPGA.
Most new RISC-V boards have the ability to put the boot and Machine mode code that is dependent on the CPU core, the SoC, or the board in SPI flash and then all run an identical OS image with Linux kernel and root filesystem. The work to make that smooth should hopefully be completed before 24.04LTS.