Scotland cast aside off-field issues to claim their biggest winning margin against Wales in their crunch World Cup opener.