Neural network reconstruction of the dense matter equation of state from neutron star observables