Text this: X-ray pulsed light curves of highly compact neutron stars as probes of scalar–tensor theories of gravity