US Naval Academy withdraws appointment over racist messages