How can I set the number of samples per View Layer?
The setting is still there - but it is in a different location. You now need to look to the Override panel where you'll find the Material override as well as the Samples override.