Joint Entity and Relation Extraction with Span Pruning and Hypergraph Neural Networks