Recent research suggests that the rise of gambling is leading to a surge of mental-health problems.