Ulta Beauty shares sank 7% in extended trading Thursday as the company fell short of second-quarter expectations and trimmed its full-year guidance after a decline in same-store sales during the most recent period.It was the company’s first earnings…