For video editing in DaVinci Resolve, Ryzen usually has a small advantage, mainly because AMD has more cores in mid/high-range processors compared to Intel at the same price point. Resolve is pretty demanding and appreciates processors with lots of cores for rendering, so a current Ryzen 7 will render faster than an equivalent i7 in most cases. But honestly, both work fine for this type of work.
What really matters is checking how many cores each one has and the frequency. A Ryzen 7 with 8 or more cores will process video significantly better than an older i7 with 4 or 6 cores. Plus, RAM and especially SSD storage make a huge difference in editing. If your workflow involves proxies or you're working with 4K video, a fast SSD is almost as important as the processor.
Another thing most people don't think about is the GPU. If the laptop has a dedicated graphics card (NVIDIA RTX, for example), DaVinci works much faster because it uses GPU acceleration for many effects. So before deciding just based on the processor, also check the graphics card, the amount of RAM (16GB minimum, ideally 32GB), and if the SSD is fast. It's all of that together that changes real performance, not just the processor.