Hi there,
As it is evident that the code is not firing only on Windows 10 Pro Build Version 19043.1645 it as advised to raise a ticket or submit the feedback to the Windows development team who would review and release subsequent patches to sort this out.
Also check the Event that is raised when the ClaimedBarcodeScanner is closed. When an application is suspended, all ClaimedBarcodeScanner objects are closed. This event can be useful to determine when barcode scanner connections need to be re-established.
Below threads discusses the same issue and you can look into it for some insights.
UWP Barcodescanner DataReceived Event not firing https://social.msdn.microsoft.com/Forums/en-US/80f7536e-a2ac-4f07-9b56-8cf7a4932e6e/uwp-barcodescanner-datareceived-event-not-firing?forum=wpdevelop
--If the reply is helpful, please Upvote and Accept it as an answer–