ASML Holding raised its full-year sales guidance after first-quarter earnings beat expectations.