We had to create a dummy Vendor Bill that debits our write-off expense account and apply it to the Vendor Prepayment. Not sure if there's any other way but based on our tests you can only close out a Vendor Prepayment if it's applied to a Vendor Bill.