Cooling solutions are typically built to the spec of the components.... So a 1050 Max-Q laptop is going to have a lesser built cooling design vs more power hungry cards.
If you're concerned about fan noise, under load, it's better to stay away from laptops.
Of course, it depends on how demanding your applications are on the GPU. I'm not too familiar with coding demands, honestly. But I would assume if a 2070 Max-Q would be pushed hard enough to engage fans to create substantial noise, the same would be true (if not moreso) with a 1050.