Scotland cast aside their off-field issues to condemn Wales to a record six-try defeat in their World Cup opener.