Police closed two train lines in Barcelona’s main station on Wednesday after a security scanner detected an object inside a suitcase that could be an explosive.