The machete was detected by an X-ray machine at the entrance to the visitor centre, according to a statement released by Capitol Police