Cannot access responsive image sources from Twig
-You can use a theme hook to wire in the responsive image sources (yourtheme.theme)

-You can set your content / (or custom entity) "manage display" / the image field: set responsive display. So it will send to the dom all of the url's when rendering the item.