This is not available during the creation of the discussion and will only become available if you edit an existing discussion. You can also create the discussion from within Content.
If you detach a discussion from the Gradebook the assignment will still remain in the Gradebook but will be unattached. You will need to delete the Assignment from the Gradebook itself to fully remove it. See the Gradebook Help pages to learn more on how to do this.