Mental competency doubted for man accused of shooting Waupaca Co. deputy