It's not really the same thing. The Avengers were acting with complete autonomy and ignored any and all international laws that governed jurisdiction to mete out their own brand of justice.
The world was largely fine with that because they trusted the Avenger's judgement but then they decided to create Ultron and almost ended the world and it became somewhat obvious that the Avengers maybe needed some form of oversight.
I tend to agree with Captain America, though, and think too much red tape makes doing the superhero thing too difficult, but after The Snap I'd be very surprised if the Sokovian Accords weren't ripped up and thrown into the trash anyway.
Regardless, there's a huge difference between reining in the Avengers after they almost destroyed all life on the planet and the whole world retroactively hating and fearing mutants enough that it's totally normal for Sentinels to patrol the streets of New York (as an example) and monitor and scan everyone to find mutants so they can put them in prison for the crime of being born.
At least with Inhumans you can say the simultaneous, spontaneous and seemingly random acquisition of superpowers across the planet has led to a lot of accidents that have cost a lot of lives and the governments of the world have decided it's best for everyone's safety if Inhumans are identified and separated from humans until either their powers are taken away (if you want to use the disease angle) or they learn how to properly use their powers.
You can't really do that with mutants.