A man has appeared in court charged with stalking Strictly Come Dancing judge Shirley Ballas.