So create the variables Y_t - X_t and Z_t - X_t then regress Y_t - X_t on Z_t - X_t and R_t

If you want to test whether the restriction holds, a simple F test between the standard model you wrote in the question and the model above should work. If the F test is shows significant difference, the restriction doesn’t hold in the data