Realising a one-dimensional topological gauge theory in an optically dressed Bose-Einstein condensate