Performance of a Medipix3RX spectroscopic pixel detector with a high resistivity gallium arsenide sensor