There is no way to tell current keyboard layout as of now. There is somewhat a debate on that topic because Gnome people what to have dbus api instead of wayland protocol extension for this functionality. Sway people are pushing for protocol extension and for now we have two use sway-specific api so a bar on a screen would be able to show current keyboard layout.