EU leaders have shown an interest in giving the UK access to a key intelligence database used to identify asylum seekers, Sir Keir Starmer has suggested.