Automatic horizontal parting flaskless green sand molding machine and foundry molding line