Nonprofit and public interest groups are scrambling to adapt to President Obama’s stringent new ethics guidelines, which are so sweeping that they have blocked the ability of many sympathetic activists to get hired by the new administration.