Carles Puigdemont left Spain after dramatic appearance in Barcelona, his lawyer says