Ultra-wealthy families sell Melbourne hotel amid legal tussle