Add input validation to prevent entering spec axis values

Refs #10534
Merge remote-tracking branch 'origin/bugfix/10534_createworkspace_spectraaxis_values_property'