Developers are not a subjugated underclass. If you really only want to work 40 hours a week, there are tons of employers who will happily hire you as a developer (at a lower salary).
There's no reason you should be entitled to both a high salary and a short working week.