Similarly to the OOB Select2 you can retrieve current selection (with all additional metadata). To do so you need to call .select2('data') function on the id of your lookup with custom _dwcSelect2 postfix.
The result will be an array of selected options (as Select2 allows for multi-selection configuration).
This can be useful when you need to get additional details and act on them after user makes his selection.