Motions hearing scheduled for man accused in Capital Gazette shooting