Carles Puigdemont, the former leader of Spain's restive Catalonia region, appears ready to give up his attempt to return to power.