woocommerce_order_item_needs_processing filter correction fixes #5877

- fixed logic code in payment_complete() to use
  woocommerce_order_item_needs_processing filter to filter per item in an
  order. Previous logic had fail cases.