NExt (Neural Extractor): a new automated tool to extract catalogues from astronomical images