I would argue merit is luck. Intelligence is mostly luck. Taller basketball players have more merit and height is luck based.
How is it coherent that generational wealth in an invalid in determining merit because it's luck based but intelligence is valid in determining merit despite being luck based? If you have a determinist outlook luck and merit are inseparable.
You're making a semantic distinction, but I agree with your concept. I personally believe everything is luck and people's wellbeing shouldn't be defined by "merit" (luck) or luck.