Danville student arrested after injuring school resource officer