Unrepresentative political parties certainly haven’t helped our democracy. But can rebuilding parties save it?