Murray Goodwin's half-century put Glamorgan in a dominant position on the second day against Lancashire at Colwyn Bay.