Labor retains government but is hit by swing in regions, with Geraldton one of its biggest casualties