[api] Don't set taxon.parent_id in Api::TaxonsController if parameters contain parent_id

Fixes #2757